home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / blankery / blanker / source / blankers / clock / defaults.c < prev    next >
C/C++ Source or Header  |  1993-07-25  |  524b  |  26 lines

  1. #include <exec/types.h>
  2. #include <intuition/intuition.h>
  3. #include <graphics/text.h>
  4.  
  5. #include "/defs.h"
  6.  
  7. struct cPrefObject {
  8.     UBYTE fName[64], Speed, Cycle, Secs, Military;
  9.     struct TextAttr Font;
  10. };
  11.  
  12. VOID defaults( struct bMessage *Msg )
  13. {
  14.     static struct cPrefObject cPO = { "topaz.font", 11, 0, 0, 0 };
  15.  
  16.     cPO.Font.ta_YSize = 11;
  17.     cPO.Font.ta_Style = FS_NORMAL;
  18.     cPO.Font.ta_Flags = FPB_ROMFONT;
  19.  
  20.     Msg->bm_Info = "Floating Clock Module";
  21.     Msg->bm_Data = ( UBYTE * )( &cPO );
  22.  
  23.     Msg->bm_Dep = 1;
  24.     Msg->bm_Mod = INVALID_ID;
  25. }
  26.